package com.ttn.common.core.entity.studentrecord;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 口语跟读学习记录
 */
@Data
@TableName(value = "oral_practice_study_record_details")
public class OralPracticeStudyRecordDetails implements Serializable {
    private static final long serialVersionUID = -8931690581038222267L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 音频文件
     */
    @TableField(value = "audio_file")
    private String audioFile;

    /**
     * 跟读文本
     */
    @TableField(value = "follow_text")
    private String followText;

    /**
     * 课程id
     */
    @TableField(value = "course_unit_id")
    private Integer courseUnitId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 学习记录id
     */
    @TableField(value = "study_record_id")
    private Integer studyRecordId;

    /**
     * 口语跟读记录id
     */
    @TableField(value = "oral_practice_id")
    private Integer oralPracticeId;

    /**
     * 得分
     */
    @TableField(value = "score")
    private Integer score;

    /**
     * 用户答案
     */
    @TableField(value = "user_answer")
    private String userAnswer;


}